package org.platform.executor.TimingDiagnose;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd41013.ModifyTimingTaskRequestParam;
import org.platform.mo.csmo.cmd41013.ModifyTimingTaskResponseParam;
import org.platform.service.diagnose.TimingDiagnoseTaskServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/8/18
 */
@Service
public class ModifyTimingTaskExecutor implements IMicProviderServiceExecutor<ModifyTimingTaskRequestParam, ModifyTimingTaskResponseParam> {
    @Autowired
    TimingDiagnoseTaskServiceImpl service;

    @Override
    public ModifyTimingTaskResponseParam doExecute(ModifyTimingTaskRequestParam requestParam) {
        return service.modifyTimingTask(requestParam);
    }
}
